﻿using System;
using System.Collections.Generic;
using System.Text;
using T.FAS.Runtime.Metadata.Entity;

namespace T.FAS.Runtime.Metadata.SPI
{
    /// <summary>
    /// 元数据扩展
    /// </summary>
    public interface IExtMetaDataManager
    {
        /// <summary>
        /// 获取元数据扩展信息
        /// </summary>
        /// <param name="metaData">元数据</param>
        /// <returns></returns>
        IMetaData GetMetaDataExt(IMetaData metaData);

        /// <summary>
        /// 元数据修复
        /// </summary>
        /// <param name="metaDataId"></param>
        void RepairMetaData(string metaDataId);

        /// <summary>
        /// 元数据变更通知
        /// </summary>
        /// <param name="metaData"></param>
        /// <param name="changeType"></param>
        void MetaChangeNotify(IMetaData metaData, string changeType);
        /// <summary>
        /// 创建分支元数据
        /// </summary>
        void CreateBranchMetaData(string sourceProjectBranchID, string newProjectBranchID, string versionID, string newVersionID);
    }
}
